define(['vue','vue-router','common','./upLoadList'],function(Vue,VueRouter,utils,upLoadList){
	Vue.use(VueRouter);
	var MessageList = {
		template:'#messageList',
		data:function(){
			return {
				items:''
			}
		},
		watch:{
			'$route':function(to,from){  
            	//console.log('从'+from.params.id+'到'+to.params.id);
       		} 
		}
	}
	var routes = [
		{path:'/:id',component: MessageList}
	]

	var router = new VueRouter({routes:routes});

	return router;
})

